package cn.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author mp
 * @since 2025-06-22
 */
@Getter
@Setter
@TableName("v_task_package_orders")
public class VTaskPackageOrders implements Serializable {

    private static final long serialVersionUID = 1L;

    private String packageId;

    private Long orderId;

    private String orderNumber;

    private String customerName;

    private String customerPhone;

    private String address;

    private BigDecimal reward;

    private Integer orderStatus;

    private Long packageCount;

    private String remark;

    private String destination;

    private LocalDateTime createdAt;

    private Integer deliverymanId;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private Byte deliveryStatus;

    private String deliverymanName;

    private String deliverymanPhone;
    @TableField(exist = false)
    List<VTaskPackageOrders> orders;
}
